{extend name="admin@index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="row[id]" value="{$data.id}">

    <div class="layui-form-item">
        <label class="layui-form-label">实际支付金额</label>
        <div class="layui-input-block">
            <input type="number" name="row[pay_money]" value="{$data.pay_money}"
                   lay-verify="required|priceNum" autocomplete="off" placeholder="实际支付金额"
                   class="layui-input" min="0.01" step="0.01">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">退款金额</label>
        <div class="layui-input-block">
            <input type="number" name="row[tui_price]" value="" lay-verify="required|priceNum" autocomplete="off" placeholder="退款金额"
                   class="layui-input" min="0.01" step="0.01">
        </div>
    </div>

    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>提交</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'laydate', 'form'], function () {
        var yznForm = layui.yznForm,
            laydate = layui.laydate;
        var form = layui.form;
        yznForm.bindevent($("form.layui-form"));
        laydate.render({
            elem: '#ID-laydate'
        });
    });
</script>
{/block}